package com.zimmur.app.mocolink.dao;

import com.zimmur.app.mocolink.domain.model.VerifyMobileLog;
import com.zimmur.app.mocolink.domain.model.VerifyMobileLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VerifyMobileLogMapper {
    int countByExample(VerifyMobileLogExample example);

    int deleteByExample(VerifyMobileLogExample example);

    int deleteByPrimaryKey(Integer recId);

    int insert(VerifyMobileLog record);

    int insertSelective(VerifyMobileLog record);

    List<VerifyMobileLog> selectByExample(VerifyMobileLogExample example);

    VerifyMobileLog selectByPrimaryKey(Integer recId);

    int updateByExampleSelective(@Param("record") VerifyMobileLog record, @Param("example") VerifyMobileLogExample example);

    int updateByExample(@Param("record") VerifyMobileLog record, @Param("example") VerifyMobileLogExample example);

    int updateByPrimaryKeySelective(VerifyMobileLog record);

    int updateByPrimaryKey(VerifyMobileLog record);
    /**
     * 根据手机号查询最新的记录
     *@Description
     *@param mobileNo
     *@return 
     *@author zcx
     *@Time 2017年10月14日 下午3:31:30
     */
    VerifyMobileLog selectLastLogByMobileNo(@Param("mobileNo")String mobileNo);
}